package net.cgsoft.widget.https;

import net.cgsoft.widget.model.Model;

/**
 * Created by Youga on 2015/12/31.
 */
public interface HttpCallBack<T> {

    boolean onStart();

    void onFinish();

    void onSuccess(Model<T> model);

    void onFailure(String error);
}
